package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@MappingTable(tableName = "BASE_MODEL")
public class Model extends BaseObject {

	private static final long serialVersionUID = -7073689492187052231L;
	
	@MappingColumn(columnName = "MODEL_ID", columnPk = true, columnLength = 10)
	private Integer modelId;//车型ID
	
	@MappingColumn(columnName = "MODEL_NAME")
	private String modelName;//车型名称
	
	@MappingColumn(columnName = "MODEL_YEAR")
	private Integer modelYear;//年款
	
	@MappingColumn(columnName = "MODEL_GUIDE_PRICE")
	private BigDecimal modelGuidePrice;//指导价

	@MappingColumn(columnName = "MODEL_DISPLACEMENT")
	private Double modelDisplacement;//排量

	@MappingColumn(columnName = "MODEL_INLET_MODEL")
	private String modelInletModel;//增压方式

	@MappingColumn(columnName = "MODEL_GEARBOX")
	private String modelGearbox;//变速箱

	@MappingColumn(columnName = "MODEL_GEARBOX_MODALITY")
	private String modelGearboxModality;//变速箱形式

	@MappingColumn(columnName = "MODEL_ENVIRON")
	private String modelEnviron;//环保等级
	
	@MappingColumn(columnName = "MODEL_MANUFACTURER")
	private String modelManufacturer;//厂商
	
	@MappingColumn(columnName = "MODEL_BODY")
	private String modelBody;//车身
	
	@MappingColumn(columnName = "MODEL_BODYWORK")
	private String modelBodywork;//车身
	
	@MappingColumn(columnName = "MODEL_LENGTH")
	private String modelLength;//车辆长度
	
	@MappingColumn(columnName = "MODEL_WIDTH")
	private String modelWidth;//车辆宽度
	
	@MappingColumn(columnName = "MODEL_HEIGHT")
	private String modelHeight;//车辆高度
	
	@MappingColumn(columnName = "MODEL_WHEELBASE")
	private String modelWheelbase;//车辆轴距

	@MappingColumn(columnName = "MODEL_ENGINE_MODEL")
	private String modelEngineModel;//发动机型号

	@MappingColumn(columnName = "MODEL_CYLINDER_ARRAY")
	private String modelCylinderArray;//气缸排列形式

	@MappingColumn(columnName = "MODEL_CYLINDER_NUM")
	private String modelCylinderNum;//气缸数

	@MappingColumn(columnName = "MODEL_GEAR_NUM")
	private String modelGearNum;//挡位个数

	@MappingColumn(columnName = "MODEL_FUEL_ROZ")
	private String modelFuelRoz;//燃料类型

	@MappingColumn(columnName = "SERIES_ID")
	private Integer seriesId;//车系ID
	
	@MappingTable(tableName = "BASE_SERIES")
	private Series series;

	@MappingTable(tableName = "BASE_BRAND")
	private Brand brand;

	@MappingTable(tableName = "BASE_MODEL_CONF")
	private ModelConf baseModelConf;

	@MappingColumn(columnName = "MODEL_SEAT")
	private String modelSeat;//座位数

	@MappingColumn(columnName = "MODEL_MIN_YEAR")
	private Integer modelMinYear;//最小上牌年份

	@MappingColumn(columnName = "MODEL_MAX_YEAR")
	private Integer modelMaxYear;//最大上牌年份

	@MappingColumn(columnName = "MODEL_DISCHARGE")
	private String modelDischarge;//排放标准

    @MappingColumn(columnName = "MODEL_SALE_NAME")
    private String modelSaleName;//销售名称

	private List<Map<String, Object>> modelConf;

    @MappingColumn(columnName = "zs")
    private Integer zs;

    private Integer truePage ;

	// private ModelPrice modelPrice;
	private Integer modelState;

	private String brandName;

	private String seriesName;

	private String brandSeriesName;

	public Model() {
	}

	public Model(Integer modelId) {
		this.modelId = modelId;
	}

	public Integer getModelId() {
		return modelId;
	}

	public void setModelId(Integer modelId) {
		this.modelId = modelId;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public Integer getModelYear() {
		return modelYear;
	}

	public void setModelYear(Integer modelYear) {
		this.modelYear = modelYear;
	}

	public BigDecimal getModelGuidePrice() {
		return modelGuidePrice;
	}

	public void setModelGuidePrice(BigDecimal modelGuidePrice) {
		this.modelGuidePrice = modelGuidePrice;
	}

	public Double getModelDisplacement() {
		return modelDisplacement;
	}

	public void setModelDisplacement(Double modelDisplacement) {
		this.modelDisplacement = modelDisplacement;
	}

	public String getModelInletModel() {
		return modelInletModel;
	}

	public void setModelInletModel(String modelInletModel) {
		this.modelInletModel = modelInletModel;
	}

	public String getModelGearbox() {
		return modelGearbox;
	}

	public void setModelGearbox(String modelGearbox) {
		this.modelGearbox = modelGearbox;
	}

	public String getModelGearboxModality() {
		return modelGearboxModality;
	}

	public void setModelGearboxModality(String modelGearboxModality) {
		this.modelGearboxModality = modelGearboxModality;
	}

	public String getModelEnviron() {
		return modelEnviron;
	}

	public void setModelEnviron(String modelEnviron) {
		this.modelEnviron = modelEnviron;
	}

	public String getModelManufacturer() {
		return modelManufacturer;
	}

	public void setModelManufacturer(String modelManufacturer) {
		this.modelManufacturer = modelManufacturer;
	}

	public String getModelBody() {
		return modelBody;
	}

	public void setModelBody(String modelBody) {
		this.modelBody = modelBody;
	}

	public String getModelBodywork() {
		return modelBodywork;
	}

	public void setModelBodywork(String modelBodywork) {
		this.modelBodywork = modelBodywork;
	}

	public String getModelLength() {
		return modelLength;
	}

	public void setModelLength(String modelLength) {
		this.modelLength = modelLength;
	}

	public String getModelWidth() {
		return modelWidth;
	}

	public void setModelWidth(String modelWidth) {
		this.modelWidth = modelWidth;
	}

	public String getModelHeight() {
		return modelHeight;
	}

	public void setModelHeight(String modelHeight) {
		this.modelHeight = modelHeight;
	}

	public String getModelWheelbase() {
		return modelWheelbase;
	}

	public void setModelWheelbase(String modelWheelbase) {
		this.modelWheelbase = modelWheelbase;
	}

	public String getModelEngineModel() {
		return modelEngineModel;
	}

	public void setModelEngineModel(String modelEngineModel) {
		this.modelEngineModel = modelEngineModel;
	}

	public String getModelCylinderArray() {
		return modelCylinderArray;
	}

	public void setModelCylinderArray(String modelCylinderArray) {
		this.modelCylinderArray = modelCylinderArray;
	}

	public String getModelCylinderNum() {
		return modelCylinderNum;
	}

	public void setModelCylinderNum(String modelCylinderNum) {
		this.modelCylinderNum = modelCylinderNum;
	}

	public String getModelGearNum() {
		return modelGearNum;
	}

	public void setModelGearNum(String modelGearNum) {
		this.modelGearNum = modelGearNum;
	}

	public String getModelFuelRoz() {
		return modelFuelRoz;
	}

	public void setModelFuelRoz(String modelFuelRoz) {
		this.modelFuelRoz = modelFuelRoz;
	}

	public Integer getSeriesId() {
		return seriesId;
	}

	public void setSeriesId(Integer seriesId) {
		this.seriesId = seriesId;
	}

	public Series getSeries() {
		return series;
	}

	public void setSeries(Series series) {
		this.series = series;
	}

	public Brand getBrand() {
		return brand;
	}

	public void setBrand(Brand brand) {
		this.brand = brand;
	}

	public ModelConf getBaseModelConf() {
		return baseModelConf;
	}

	public void setBaseModelConf(ModelConf baseModelConf) {
		this.baseModelConf = baseModelConf;
	}

	public List<Map<String, Object>> getModelConf() {
		return modelConf;
	}

	public void setModelConf(List<Map<String, Object>> modelConf) {
		this.modelConf = modelConf;
	}

	public Integer getModelState() {
		return modelState;
	}

	public void setModelState(Integer modelState) {
		this.modelState = modelState;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getSeriesName() {
		return seriesName;
	}

	public void setSeriesName(String seriesName) {
		this.seriesName = seriesName;
	}

	public String getBrandSeriesName() {
		return brandSeriesName;
	}

	public void setBrandSeriesName(String brandSeriesName) {
		this.brandSeriesName = brandSeriesName;
	}

	public String getModelSeat() {
		return modelSeat;
	}

	public void setModelSeat(String modelSeat) {
		this.modelSeat = modelSeat;
	}

	public Integer getModelMinYear() {
		return modelMinYear;
	}

	public void setModelMinYear(Integer modelMinYear) {
		this.modelMinYear = modelMinYear;
	}

	public Integer getModelMaxYear() {
		return modelMaxYear;
	}

	public void setModelMaxYear(Integer modelMaxYear) {
		this.modelMaxYear = modelMaxYear;
	}

	public String getodelDischarge() {
		return modelDischarge;
	}

	public void setodelDischarge(String modelDischarge) {
		this.modelDischarge = modelDischarge;
	}

    public String getModelDischarge() {
        return modelDischarge;
    }

    public void setModelDischarge(String modelDischarge) {
        this.modelDischarge = modelDischarge;
    }

    public String getModelSaleName() {
        return modelSaleName;
    }

    public void setModelSaleName(String modelSaleName) {
        this.modelSaleName = modelSaleName;
    }

    public Integer getZs() {
        return zs;
    }

    public void setZs(Integer zs) {
        this.zs = zs;
    }

    public Integer getTruePage() {
        return truePage;
    }

    public void setTruePage(Integer truePage) {
        this.truePage = truePage;
    }
}
